<%= javascript_include_tag "mytable.js" %>
<%= stylesheet_link_tag 'mytable'%>
<h1>导师信息一览</h1>
<table>
  <thead>
    <th>姓名</th>
    <th>招生类型</th>
    <th>简介</th>
  </thead>
  <tbody>
  <% for tea_info in @teacher_infos %>
    <tr>
      <td><%= h(tea_info.tname) %></td>
      <td><%= h(tea_info.stu_type) %></td>
      <td><%= h(tea_info.tresume) %></td>
    </tr>
  <% end %>
  </tbody>
</table>